package com.jic.purchase.mapper;

import com.jic.purchase.model.entity.ContractAnnex;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContractAnnexMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ContractAnnex record);

    int insertSelective(ContractAnnex record);

    ContractAnnex selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ContractAnnex record);

    int updateByPrimaryKey(ContractAnnex record);

    void deleteByContractId(@Param("contractId") Long id);

    void insertBatch(@Param("contractAnnexList") List<ContractAnnex> contractAnnexList,@Param("contractId") Long id);

    List<ContractAnnex> queryListByContractId(@Param("contractId") Long id);
}